<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>家政小程序商学院</title>
    <script src="https://cdn.tailwindcss.com/3.3.3"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f8f9fa;
            max-width: 750px;
            margin: 0 auto;
        }
        .nav-item.active {
            color: #4f46e5;
            border-bottom: 2px solid #4f46e5;
        }
        .course-card {
            transition: all 0.3s ease;
        }
        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .tab-item.active {
            color: #4f46e5;
        }
        .nav-tab.active {
            color: #3b82f6;
        }
        .nav-tab.active i {
            color: #3b82f6;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- 顶部导航 -->
    <!-- <header class="bg-white shadow-sm sticky top-0 z-10">
        <div class="flex items-center px-4 py-3">
            <button class="text-gray-600 mr-2" onclick="window.history.back()">
                <i class="fas fa-chevron-left text-lg"></i>
            </button>
            <h1 class="text-xl font-bold text-gray-800">家政商学院</h1>
        </div>
    </header> -->

    <!-- 主要内容区 -->
    <main class="pb-16">
        <!-- 商学院简介 -->
        <section class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-8 rounded-b-3xl">
            <h2 class="text-2xl font-bold mb-2">专业家政培训平台</h2>
            <p class="text-indigo-100 mb-4">提升技能 · 职业认证 · 高薪就业</p>
            <p class="text-sm opacity-90">我们致力于为家政从业者提供系统化、专业化的培训课程，助力职业发展</p>
        </section>

        <!-- 功能导航区 -->
        <section class="px-4 mt-6">
            <div class="grid grid-cols-4 gap-2 mb-6">
                <a href="./course-categories.html" class="flex flex-col items-center p-2 bg-white rounded-lg shadow-sm">
                    <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600 mb-1">
                        <i class="fas fa-book-open text-xl"></i>
                    </div>
                    <span class="text-xs text-gray-600">课程分类</span>
                </a>
                <a href="./teachers.html" class="flex flex-col items-center p-2 bg-white rounded-lg shadow-sm">
                    <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center text-purple-600 mb-1">
                        <i class="fas fa-chalkboard-teacher text-xl"></i>
                    </div>
                    <span class="text-xs text-gray-600">师资力量</span>
                </a>
                <a href="../aunt/student-achievements.html" class="flex flex-col items-center p-2 bg-white rounded-lg shadow-sm">
                    <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center text-green-600 mb-1">
                        <i class="fas fa-trophy text-xl"></i>
                    </div>
                    <span class="text-xs text-gray-600">学员成果</span>
                </a>
                <!-- <a href="#" class="flex flex-col items-center p-2 bg-white rounded-lg shadow-sm">
                    <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center text-blue-600 mb-1">
                        <i class="fas fa-calendar-alt text-xl"></i>
                    </div>
                    <span class="text-xs text-gray-600">开班信息</span>
                </a> -->
                <a href="./course-enrollment.html" class="flex flex-col items-center p-2 bg-white rounded-lg shadow-sm">
                    <div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center text-red-600 mb-1">
                        <i class="fas fa-pencil-alt text-xl"></i>
                    </div>
                    <span class="text-xs text-gray-600">在线报名</span>
                </a>
            </div>
        </section>

        <!-- 最新开班信息 -->
        <section class="bg-white mx-4 p-4 rounded-xl shadow-sm mb-6">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-lg font-bold text-gray-800">最新开班信息</h2>
                <a href="#" class="text-sm text-indigo-600">查看更多 <i class="fas fa-chevron-right ml-1"></i></a>
            </div>
            <div class="space-y-3">
                <div class="border-b border-gray-100 pb-3">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-medium text-gray-800">高级月嫂培训班</h3>
                            <p class="text-xs text-gray-500">开班时间: 2024-06-15</p>
                        </div>
                        <span class="bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded-full">火热报名中</span>
                    </div>
                </div>
                <div class="border-b border-gray-100 pb-3">
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-medium text-gray-800">育婴师认证班</h3>
                            <p class="text-xs text-gray-500">开班时间: 2024-06-20</p>
                        </div>
                        <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">名额有限</span>
                    </div>
                </div>
                <div>
                    <div class="flex justify-between items-start">
                        <div>
                            <h3 class="font-medium text-gray-800">家政经理人培训</h3>
                            <p class="text-xs text-gray-500">开班时间: 2024-06-25</p>
                        </div>
                        <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">新开班</span>
                    </div>
                </div>
            </div>
        </section>

        <!-- 热门课程推荐 -->
        <section class="mx-4 mb-6" onclick="window.location.href = './course-detail.html'">
            <div class="flex justify-between items-center mb-4">
                <h2 class="text-lg font-bold text-gray-800">热门课程推荐</h2>
                <a href="#" class="text-sm text-indigo-600">全部课程 <i class="fas fa-chevron-right ml-1"></i></a>
            </div>
            <div class="grid grid-cols-2 gap-3">
                <div class="course-card bg-white rounded-lg overflow-hidden shadow-sm">
                    <img src="https://s.coze.cn/image/hYUawo11MXI/" alt="高级月嫂培训" class="w-full h-32 object-cover">
                    <div class="p-3">
                        <h3 class="font-medium text-gray-800 text-sm mb-1">高级月嫂培训</h3>
                        <p class="text-xs text-gray-500 line-clamp-2">系统学习新生儿护理、产妇护理等专业技能，结业颁发国家认证证书</p>
                        <div class="flex justify-between items-center mt-2">
                            <span class="text-red-500 text-sm font-medium">¥1280</span>
                            <span class="text-xs text-gray-400"><i class="fas fa-user-graduate mr-1"></i> 256人</span>
                        </div>
                    </div>
                </div>
                <div class="course-card bg-white rounded-lg overflow-hidden shadow-sm">
                    <img src="https://s.coze.cn/image/hYUawo11MXI" alt="育婴师认证" class="w-full h-32 object-cover">
                    <div class="p-3">
                        <h3 class="font-medium text-gray-800 text-sm mb-1">育婴师认证</h3>
                        <p class="text-xs text-gray-500 line-clamp-2">0-3岁婴幼儿科学喂养、早期教育等全方位培训，就业前景广阔</p>
                        <div class="flex justify-between items-center mt-2">
                            <span class="text-red-500 text-sm font-medium">¥980</span>
                            <span class="text-xs text-gray-400"><i class="fas fa-user-graduate mr-1"></i> 189人</span>
                        </div>
                    </div>
                </div>
                <div class="course-card bg-white rounded-lg overflow-hidden shadow-sm">
                    <img src="https://s.coze.cn/image/bmmN8scl6pY/" alt="家政经理人培训" class="w-full h-32 object-cover">
                    <div class="p-3">
                        <h3 class="font-medium text-gray-800 text-sm mb-1">家政经理人培训</h3>
                        <p class="text-xs text-gray-500 line-clamp-2">家政企业管理、团队建设、客户服务等管理技能提升课程</p>
                        <div class="flex justify-between items-center mt-2">
                            <span class="text-red-500 text-sm font-medium">¥1680</span>
                            <span class="text-xs text-gray-400"><i class="fas fa-user-graduate mr-1"></i> 98人</span>
                        </div>
                    </div>
                </div>
                <div class="course-card bg-white rounded-lg overflow-hidden shadow-sm">
                    <img src="https://s.coze.cn/image/LjHX-UnryJc/" alt="老年护理专业" class="w-full h-32 object-cover">
                    <div class="p-3">
                        <h3 class="font-medium text-gray-800 text-sm mb-1">老年护理专业</h3>
                        <p class="text-xs text-gray-500 line-clamp-2">老年人日常护理、康复训练、心理疏导等专业技能培训</p>
                        <div class="flex justify-between items-center mt-2">
                            <span class="text-red-500 text-sm font-medium">¥880</span>
                            <span class="text-xs text-gray-400"><i class="fas fa-user-graduate mr-1"></i> 145人</span>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 会员积分规则 -->
        <section class="bg-white mx-4 p-4 rounded-xl shadow-sm">
            <h2 class="text-lg font-bold text-gray-800 mb-3">会员积分规则</h2>
            <div class="bg-indigo-50 rounded-lg p-3 mb-3">
                <div class="flex items-start">
                    <div class="bg-indigo-100 text-indigo-600 w-6 h-6 rounded-full flex items-center justify-center mr-2 flex-shrink-0">
                        <i class="fas fa-gem text-xs"></i>
                    </div>
                    <p class="text-sm text-gray-700">每消费1元积1分，积分可兑换课程优惠券或实物礼品</p>
                </div>
            </div>
            <div class="bg-purple-50 rounded-lg p-3 mb-3">
                <div class="flex items-start">
                    <div class="bg-purple-100 text-purple-600 w-6 h-6 rounded-full flex items-center justify-center mr-2 flex-shrink-0">
                        <i class="fas fa-star text-xs"></i>
                    </div>
                    <p class="text-sm text-gray-700">推荐新学员报名成功可获得200积分奖励</p>
                </div>
            </div>
            <div class="bg-green-50 rounded-lg p-3">
                <div class="flex items-start">
                    <div class="bg-green-100 text-green-600 w-6 h-6 rounded-full flex items-center justify-center mr-2 flex-shrink-0">
                        <i class="fas fa-award text-xs"></i>
                    </div>
                    <p class="text-sm text-gray-700">年度积分排名前10名可获得免费进修课程资格</p>
                </div>
            </div>
        </section>
    </main>

    <!-- 底部导航 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-100 flex justify-around py-2 max-w-750 mx-auto">
        <a href="../user/user-home.html" class="nav-tab flex flex-col items-center px-4 py-1 text-xs text-gray-500">
            <i class="fas fa-home text-lg mb-1"></i>
            <span>首页</span>
        </a>
        <a href="../user/categories.html" class="nav-tab flex flex-col items-center px-4 py-1 text-xs text-gray-500">
            <i class="fas fa-list text-lg mb-1"></i>
            <span>分类</span>
        </a>
        <a href="../user/member-exclusive.html" class="nav-tab flex flex-col items-center px-4 py-1 text-xs text-gray-500">
            <i class="fas fa-crown text-lg mb-1"></i>
            <span>会员专享</span>
        </a>
        <a href="business-school.html" class="nav-tab active flex flex-col items-center px-4 py-1 text-xs">
            <i class="fas fa-graduation-cap text-lg mb-1"></i>
            <span>商学院</span>
        </a>
        <a href="../user/user-profile.html" class="nav-tab flex flex-col items-center px-4 py-1 text-xs text-gray-500">
            <i class="fas fa-user text-lg mb-1"></i>
            <span>我的</span>
        </a>
    </div>

    <script>
        // 底部导航切换
        document.querySelectorAll('.tab-item').forEach(item => {
            item.addEventListener('click', function(e) {
                e.preventDefault();
                document.querySelectorAll('.tab-item').forEach(i => {
                    i.classList.remove('active');
                });
                this.classList.add('active');
            });
        });
    </script>
</body>
</html>